package com.gph.saviorframework.auth.dao;

import com.gph.saviorframework.auth.model.AuthService;
import com.gph.saviorframework.base.service.BaseService;
import org.apache.ibatis.annotations.Param;
import org.aspectj.lang.annotation.Aspect;

import java.util.List;

/**
 * 鉴权服务数据库操作接口
 *
 * @author guopeihui
 */
@Aspect
public interface AuthServiceDao extends BaseService<AuthService,String> {

    /**
     * 根据系统编号获取所有的服务信息
     * @param sysId
     * @return
     */
    List<AuthService> findBySysId(@Param(value = "sysId")String sysId);
}
